﻿/* Copyright © 2012 Gargol, Gargol at gbot dot org
   Based on CoreDC Copyright 2007 © Johan Pettersson, Fredrik Johansson, Michael Starberg, Christian Epstein.
 
This file is part of ADCCore.

ADCCore is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

ADCCore is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with ADCCore.  If not, see <http://www.gnu.org/licenses/>. */
using System;
using System.Collections.Generic;
using System.Text;
using ADCCore;
namespace ADCCore.Classes
{
    public class UserCommand
    {
        private string hubcmd = String.Empty;
        private string usercmd = String.Empty;
        private string userpath = String.Empty;
        public UserCommand()
        {
            this.UserCmd = String.Empty;
            this.HubCmd = String.Empty;
            this.UserPath = String.Empty;
        }
        // TODO: Split apart in the various sections, for easy GUI implementation
        public string HubCmd {
            get { return hubcmd; }
            set { hubcmd = DcClient.DcEncode(DcClient.DcEncode(value)); } 
        }
        public string UserCmd
        {
            get { return usercmd; }
            set { usercmd = DcClient.DcEncode(value); }
        }
        public string UserPath
        {
            get { return userpath; }
            set { userpath = DcClient.DcEncode(value); }
        }
    }


}
